'use strict';

module.exports = app => {
  app.get('/',app.controller.index.index);  
  app.get('/index',app.controller.index.index);
  app.get('/index/video',app.controller.index.video);
  app.get('/video/videoDetail',app.controller.index.videoDetail);
  app.get('/index/integral',app.controller.index.integral);
  app.get('/index/activity',app.controller.index.activity);
  app.get('/index/news',app.controller.index.news);
  app.get('/news/newsDetail',app.controller.index.newsDetail);
  app.get('/index/search',app.controller.index.search);
  
  app.get('/product', app.controller.product.product);
  app.get('/product/productDetail', app.controller.product.productDetail);

  app.get('/customer', app.controller.customer.customer);
  app.get('/customer/accountQuestion', app.controller.customer.accountQuestion);
  app.get('/customer/gameQuestion', app.controller.customer.gameQuestion);
  app.get('/customer/socialQuestion', app.controller.customer.socialQuestion);
  app.get('/customer/storeQuestion', app.controller.customer.storeQuestion);
  app.get('/customer/question/questionDetail', app.controller.customer.questionDetail);
  app.get('/customer/customerHuman', app.controller.customer.customerHuman);
  app.get('/customer/customerReply', app.controller.customer.customerReply);  
  app.get('/customer/reply/replyDetail', app.controller.customer.replyDetail);
  
  app.get('/personal/task', app.controller.personal.task);
  app.get('/personal/security', app.controller.personal.security);
  app.get('/personal/record', app.controller.personal.record);
  app.get('/personal/message', app.controller.personal.message);
  app.get('/personal/feedback', app.controller.personal.task);
  app.get('/personal/feedbackList', app.controller.personal.feedbackList);
  app.get('/personal/assign', app.controller.personal.assign);
  
  app.get('/personal/changeEmail/changeResult', app.controller.personal.changeResult);
  app.get('/personal/changeEmail/hasEmail', app.controller.personal.hasEmail);
  app.get('/personal/changeEmail/noEmail', app.controller.personal.noEmail);
  app.get('/personal/beMember/member', app.controller.personal.member);
  app.get('/personal/beMember/phone', app.controller.personal.phone);
  app.get('/personal/security/changePhone', app.controller.personal.changePhone);
  app.get('/personal/security/changePwd', app.controller.personal.changePwd);
  app.get('/personal/security/examine', app.controller.personal.examine);
  app.get('/personal/security/info', app.controller.personal.info);
    
  app.get('/login', app.controller.login.login);
  app.get('/login/question', app.controller.login.question);
  
  app.get('/register/member', app.controller.register.member);
  app.get('/register/phone', app.controller.register.phone);

  app.get('/findPwd/member', app.controller.findPwd.member);
  app.get('/findPwd/phone', app.controller.findPwd.phone);
};
